package com.zz.common.annotation;

import com.zz.common.enums.SerializationType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 序列化注解
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Serialize {

    SerializationType value() default SerializationType.PROTOSTUFF;
}
